package airacrobats.io;

import airacrobats.io.data.JWavefrontModel;
import java.io.File;
import java.io.IOException;

/**
 *
 */
public class WavefrontLoader extends Loader<JWavefrontModel>
{
    /**
     */
    protected JWavefrontModel load(String file) throws IOException
    {
        JWavefrontModel wavefrontModel = new JWavefrontModel(new File(file));
        wavefrontModel.facetNormals();
        wavefrontModel.vertexNormals(90);
        return wavefrontModel;
    }
}
